Base types
ro
Simple readonly cell without edit possibility
Variations:
-
ron - Readonly eXcell with formatting capabilities (see "edn" for details)
-
rotxt - Simple readonly cell without edit possibility, threat values as
pure text, so no HTML allowed and all special chars can be set without
escaping
ed
Simple single line editor
Variations:
-
edn - Simple single line editor, allows specific formatting through
grid.setNumberFormat(...
-
edtxt - Simple single line editor, threat values as pure text, so no HTML
allowed and all special chars can be set without escaping
txt
Simple multi-line editor ( small textarea )
Variations:
-
txttxt - Simple multi-line editor ( small textarea ) threats values as
pure text, so no HTML allowed and all special chars can be set without
escaping
ch
Checkbox eXcell. Treats 1 as checked, 0 as not checked
ra
Radiobutton (column oriented)
Variations:
-
ra_str - row oriented radiobutton
co
Simple combobox
Variations
Formatting excells
link
Threat value as link source, renders as link (A tag)
The corresponding cell value in XML should be a "^" delimited list of
following values:
1st - Link Text
2nd - URL (optional)
3rd - target (optional, default is _blank)
Dummy link
Real link^http://dhtmlx.com
Real link^http://dhtmlx.com^_blank
Real link^javascript:doSomething()^_self
img
Threat value as image source, renders as image (IMG tag)
The corresponding cell value in XML should be a "^" delimited list of
following values:
1st - image src
2nd - image alt text (optional)
3rd - link (optional)
4rd - target (optional, default is _self)
some.gif
some.gif^alte text
some.gif^alt text^http://dhtmlx.com^_blank
some.gif^alt text^javascript:doSomething()^_self
price
renders value as price amount ( prepeniding $ sign, value >0 rendered in
green, other values rendered in red )
dyn
different coloring and marking based on value ( sales dynamic oriented )
Excell with complex editors
cp
Simple popup colorpicker
calck
Popup calculator control, allows specific formatting through
grid.setNumberFormat(...
dhxCalendar
Popup calendar control, dhxCalendar used, date format can be set by
grid.setDateFormat(...
dhxCalendarA
Popup calendar control, dhxCalendar used, date format can be set by
grid.setDateFormat(...
In addition to popup calendar, cell in grid switched to edit mode, which
allows to type date directly
calendar
Popup calendar control, YUI Calendar used
clist
Multiselect control, which mimic multiselect combobox behaviour, but has
alternative visual implementation
Using other dhtmlxgrid controls as editors
grid
Use dhtmlxgrid as editor for cells
stree
Use dhtmlxtree as editor for cells
context
Use dhtmlxmenu as editor for cells
combo
Complex selectbox/combobox based on dhtmlxCombo, can work in autocomplete mode
Excells with specila purpose
sub_row
Show cell as expandable subrow of grid row ( allow to implement "expandable
details" pattern )
Variation:
-
sub_row_ajax - data in cell considered to be an URL for ajax request
-
sub_row_grid - allow to create nested subgrid as content of sub_row